﻿using Dotnet.Code;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 三方平台接口示例
{
    public class DataBase
    {
        public string appid
        {
            get { return "test_appid"; }
        }
        public string dwbm
        {
            get { return "test_dwbm"; }
        }
        public string method { get; set; }
        public string timestamp
        {
            get;set;
        }
        public string v
        {
            get
            {
                return "v1.0";
            }
        }
        public string sign { get; set; }
    }

    public class OrgInfo : DataBase
    {
        public string dwmc { get; set; }
        public string dwdz { get; set; }
        public double dwzbX { get; set; }
        public double dwzbY { get; set; }
        public string dwsxlb { get; set; }
        public string xfzrrxm { get; set; }
        public string xfglrxm { get; set; }
        public string xfglrdh { get; set; }
        public string wbdwmc { get; set; }
    }

    public class Buildings : DataBase
    {
        public string jzmc { get; set; }
        public double jzzbX { get; set; }
        public double jzzbY { get; set; }
        public double jzgd { get; set; }
        public double jzmj { get; set; }
        public string jzpmt { get; set; }
        public int jzlc { get; set; }
        public string wbuildinginfoid { get; set; }
    }

    public class FireContrlRoom : DataBase
    {
        //public double xfkzszbX { get; set; }
        //public double xfkzszbY { get; set; }
        //public string xfkzsdh { get; set; }
        //public string xfkzszbrxm { get; set; }
        //public string dwbm { get; set; }

        //消控室名称
        public string xksmc { get; set; }

        //消控室电话
        public string xksdh { get; set; }

        //消控室位置（数据库存id，接收的是中文）
        public string xkswz { get; set; }

        //消防控制室责任人
        public string xfkzszbrxm { get; set; }
    }

    public class officearea : DataBase
    {
        public string wofficeareaid { get; set; }
        public string mc { get; set; }
        public string qmc { get; set; }
        public string wdeviceid { get; set; }
    }

    public class FireAlarmController : DataBase
    {
        public string wlbm { get; set; }
        public string zjpp { get; set; }
        public string zjxh { get; set; }
        public string zjwz { get; set; }
        public string sblx { get; set; }
        public string wdeviceid { get; set; }
    }
}
